package demo5;

import org.springframework.stereotype.Component;

import java.sql.SQLOutput;

@Component
public class Shirt implements Clothes{
    @Override
    public void wear() {
        System.out.println("穿T恤");
    }
}
